/*
 * AmbienteWorker.h
 *
 *  Created on: 26-10-2011
 *      Author: cristian
 */

#ifndef AMBIENTEWORKER_H_
#define AMBIENTEWORKER_H_

#include "Ambiente.h"
#include "AmbienteAbstract.h"


class AmbienteWorker : Ambiente<Worker>, AmbienteAbstract {

private:


public:
	AmbienteWorker(unsigned int x, unsigned int y):Ambiente<Worker>(x,y){

	}
	virtual ~AmbienteWorker();
	 void setNodoAndRun( unsigned int x, unsigned int y,Worker* nodo);
	 void runAll();
	 unsigned int x();
	 unsigned int y();
	 Worker* getWorker(unsigned int x, unsigned int y);
	 bool  move(unsigned int x1, unsigned int y1, unsigned int x2,unsigned int y2);

};

#endif /* AMBIENTEWORKER_H_ */
